<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>修改图书</title>
</head>
<body>
<h3>修改图书</h3>

<form action="/library/UpdateServlet" method="post">
  <p><span>编号：</span><input type="text" name="id" value="${library.bookId}"></p>
  <p><span>书名：</span><input type="text" name="name" value="${library.bookName}"></p>
  <p><span>作者：</span><input type="text" name="author" value="${library.bookAuthor}"></p>
  <p><span>状态：</span><input type="radio" name="status" value="1">启用<input type="radio" value="0">禁用</p>
  <p><span>价格：</span><input type="number" name="price" value="${library.bookPrice}"></p>
  <p><button type="submit" value="">确定修改</button>&nbsp;&nbsp;<a href="index.jsp"><button>取消</button></a></p>
</form>
</body>

</html>
